package com.jessechanrui.template.projectcase.infrastructure.demo.support.http.annotation;

import cn.hutool.core.annotation.AliasFor;
import com.burukeyou.uniapi.http.annotation.HttpApi;
import com.jessechanrui.template.projectcase.infrastructure.demo.support.http.processor.AmtdHttpApiProcessor;

import java.lang.annotation.*;

/**
 * @author chenrui
 * @date 2024/11/20
 */
@Inherited
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@HttpApi(processor = AmtdHttpApiProcessor.class)
public @interface AmtdHttpApi {
    /**
     * amtd域名地址
     */
    @AliasFor(annotation = HttpApi.class)
    String url() default "${channel.amtd.url}";
}
